/**
 * Created by mi on 2017/10/16.
 */
@charset "utf-8";



//登录弹窗
#login-wrap {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 199;
    .login {
        position: relative;
        width: 540px;
        height: 325px;
        background-color: #fff;
        margin: 10% auto 50px;
        padding: 0px 70px 30px;
    }
    .login-title {
        .type{
            width: 50%;
            height: 55px;
            line-height: 55px;
            border-bottom: 1px solid #dddddd;
            text-align: center;
            color: #999999;
            font-size: 18px;
            cursor: pointer;
            -webkit-transition: all 0.4s;
            -moz-transition: all 0.4s;
            -ms-transition: all 0.4s;
            -o-transition: all 0.4s;
            transition: all 0.4s;
            &.active,&:hover{
                color: #399bff;
                border-color: #399bff;
            }
        }
        .login-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 16px;
            height: 16px;
            cursor: pointer;
            background: url(../../img/closeicon.png) no-repeat center;
            -webkit-transition: all 0.4s;
            -moz-transition: all 0.4s;
            -ms-transition: all 0.4s;
            -o-transition: all 0.4s;
            transition: all 0.4s;
            &:hover {
                color: #399bff;
                background-image: url(../../img/closeiconhover.png);
            }
        }
    }
    .login-form {
        font-size: 14px;
        .check-wrap{
            display: inline-block;
            width: auto;
            cursor: pointer;
            .check-text {
                margin-right: 22px;
            }
        }
        label {
            cursor: pointer;
        }
        input {
            width: 100%;
            height: 36px;
            line-height: 36px;
            border: 1px solid #dddddd;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
            padding: 2px 10px;
            color: #0e050b;
        }
        .login-type,.login-name {
            margin: 20px 0;
        }
        .ps-type {
            button {
                width: 100px;
                height: 36px;
                line-height: 36px;
                background-color: #399bff;
                color: #fefefe;
                text-align: center;
                margin-left: 5px;
                -webkit-border-radius: 2px;
                -moz-border-radius: 2px;
                border-radius: 2px;
                -webkit-transition: all 0.4s;
                -moz-transition: all 0.4s;
                -ms-transition: all 0.4s;
                -o-transition: all 0.4s;
                transition: all 0.4s;
                &:hover{
                    background: #73b6fb;
                }
            }
            button.disabled {
                background: rgba(8, 8, 8, 0.1);
                border-color: #dcdcdc;
                color: #aaaaaa;
                &:hover{
                    background-color: rgba(8, 8, 8, 0.1);
                }
            }
        }
        .loginbtn {
            width: 100%;
            height: 36px;
            background-color: #399bff;
            color: #fefefe;
            text-align: center;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
            margin-top: 10px;
            margin-bottom:10px;
            -webkit-transition: all 0.4s;
            -moz-transition: all 0.4s;
            -ms-transition: all 0.4s;
            -o-transition: all 0.4s;
            transition: all 0.4s;
            &:hover{
                background-color: #73b6fb;
            }
        }
        .login-text {
            font-size: 14px;
            span{
                color: #999999;
            }
            a,div{
                color: #399bff;
                cursor: pointer;
                &:hover{
                    color: #73b6fb;
                }
            }
        }
        .w-160 {
            width: 160px;
        }
    }
    .win-password{
        display: none;
        .login-user,.login-ps{
            display: block;
            width: 100%;
            height: 36px;
            margin-top: 20px;
        }
    }
    .check-wrap {
        display: inline-block;
        width: 80px;
        font-size: 14px;
        margin: 15px 0;
    }
    .check {
        position: relative;
        display: inline-block;
        width: 14px;
        height: 14px;
        border: 1px solid #0e050b;
        border-radius: 2px;
        color: #fff;
        margin-right: 5px;
        cursor: pointer;
        vertical-align: middle;
    }
    .check-text {
        color: #333333;
        font-size: 14px;
        vertical-align: middle;
        margin-right: 25px;
    }
    .check-wrap:hover {
        .check {
            border-color: #20a0ff;
        }
    }
    .check-wrap.active {
        .check {
            border-color: #20a0ff;
            background-color: #20a0ff;
            &:after {
                position: absolute;
                top: 0;
                left: 0;
                content: " ";
                display: inline-block;
                width: 100%;
                height: 100%;
                background: url(../../img/check.png) no-repeat center center;
                background-size: 80% 80%;
            }
        }
    }
}



//注册界面
#register-wrap{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 199;
}
.win-register{
    position: relative;
    width: 540px;
    height: 380px;
    background-color: #fff;
    margin: 10% auto 50px;
    padding: 0 70px;
    .register-title{
        width: 100%;
        height: 60px;
        line-height: 60px;
        font-size: 18px;
        color: #399BFF;
        text-align: center;
        border-bottom: 1px solid #dddddd;
        .register-close{
            position: absolute;
            top: 20px;
            right: 20px;
            width: 16px;
            height: 16px;
            cursor: pointer;
            background: url(../../img/closeicon.png) no-repeat center;
            -webkit-transition: all 0.4s;
            -moz-transition: all 0.4s;
            -ms-transition: all 0.4s;
            -o-transition: all 0.4s;
            transition: all 0.4s;
            &:hover {
                color: #399bff;
                background-image: url(../../img/closeiconhover.png);
            }
        }
    }
    //注册信息
    .infoli{
        position: relative;
        width: 100%;
        height: 36px;
        line-height: 36px;
        margin-top: 20px;
        font-size: 0;
        span{
            float: left;
            font-size: 14px;
            color: #333333;
            vertical-align: middle;
        }
        i{
            font-size: 14px;
            color: #ee0003;
        }
        input{
            float: right;
        }
        .tink{
            display: none;
            position: absolute;
            top: 38px;
            left: 90px;
            line-height: normal;
            font-size: 12px;
            color: #EE5F5B;
        }
        &.active{
            input{
                border-color:#EE5F5B;
            }
            .tink{
                display: block;
            }
        }
    }
    input{
        width: 320px;
        height: 36px;
        border: 1px solid #dddddd;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        padding: 2px 10px;
        color: #0e050b;
        font-size: 14px;
    }
    .register-code{
        input{
            width: 200px;
        }
        .send-code{
            float: right;
            width: 100px;
            height: 36px;
            line-height: 36px;
            background-color: #399bff;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
            color: #fefefe;
            text-align: center;
            margin-left: 20px;
            -webkit-transition: all 0.4s;
            -moz-transition: all 0.4s;
            -ms-transition: all 0.4s;
            -o-transition: all 0.4s;
            transition: all 0.4s;
            &:hover{
                background-color: #73b6fb;
            }
        }
        button.disabled {
            background: rgba(8, 8, 8, 0.1);
            border-color: #dcdcdc;
            color: #aaaaaa;
            &:hover{
                background: rgba(8, 8, 8, 0.1);
            }
        }
    }
    //submit 按钮
    .submit{
        width: 320px;
        height: 36px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        background-color: #399bff;
        color: #fff;
        -webkit-transition: all 0.4s;
        -moz-transition: all 0.4s;
        -ms-transition: all 0.4s;
        -o-transition: all 0.4s;
        transition: all 0.4s;
        &:hover{
            background-color: #73b6fb;
        }
    }
    .register-text{
        width: 320px;
        font-size: 14px;
        text-align: center;
        margin-top: 10px;
        span{
            color: #999999;
        }
        a{
            color: #399bff;
            cursor: pointer;
            &:hover{
                color: #73b6fb;
            }
        }
    }
    .usertype-wrap{
        width: 320px;
        font-size: 0;
        margin: 15px 0 25px;
        &>div{
            position: relative;
            display: inline-block;
            width: 50%;
            .hovert{
                display: none;
                position: absolute;
                top: -40px;
                left: -50px;
                width: 260px;
                height: 40px;
                line-height: 30px;
                background: url(../../img/hovert.png) no-repeat center;
                background-size: 100%;
                font-size: 14px;
                color: #666666;
                text-align: center;
            }
        }
        .issue2+.hovert{
            width: 240px;
            left: -42px;
        }
        .issue{
            display: inline-block;
            width: 14px;
            height: 14px;
            background: url(../../img/proicon.png) no-repeat center;
            margin-left: 5px;
            vertical-align: middle;
            cursor: pointer;
        }
        .issue:hover{
            background-image: url(../../img/proiconhover.png);
        }
        .issue1:hover+.hovert{
            display: block;
        }
        .issue2:hover+.hovert{
            display: block;
        }
    }
    //单选按钮
    .radio-wrap{
        display: inline-block;
        font-size: 0;
        label{
            cursor: pointer;
            font-weight: 0;
            margin-bottom: 0;
            font-size: 14px;
            color: #333333;
            vertical-align: middle;
        }
    }
    .radio-wrap:hover {
        .border {
            border-color: #20a0ff;
        }
    }
    .radio_btn {
        position: relative;
        background: transparent;
        display: inline-block;
        width: 16px;
        height: 16px;
        line-height: 16px;
        margin-right: 10px;
        vertical-align: middle;
        font-size: 0;
        cursor: pointer;
        input {
            position: relative;
            width: 100%;
            height: 100%;
            z-index: 99;
            opacity: 0;
            cursor: pointer;
        }
        span {
            display: inline-block;
            border-radius: 50%;
            -webkit-transition: .3s all;
            -moz-transition: .3s all;
            -ms-transition: .3s all;
            -o-transition: .3s all;
            transition: .3s all;
            transition: .3s all;
        }
        .center {
            position: absolute;
            top: 4px;
            left: 4px;
            width: 8px;
            height: 8px;
        }
        .border {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 1px solid #000;
        }
        input[type="radio"]:checked+.center {
            background-color: #20a0ff;
        }
        input[type="radio"]:checked~.border {
            border-color: #20a0ff;
        }
    }
}
